package bingo.component.amchart.graphics.chart;

import java.util.ArrayList;
import java.util.List;

import bingo.component.amchart.graphics.BaseGraphic;

/**
 * Jun 25, 2008 10:25:43 AM
 * Author:yangdongyu(yangdy@bingosoft.net)
 * ReadMe:
 * ChangeLog:
 */
public class Series extends BaseGraphic{
	private List<Value> values = new ArrayList<Value>(); 
	
	public GraphicType getGraphicType() {
		return GraphicType.series;
	}

	public List<Value> getValues() {
		return values;
	}

	public void setValues(List<Value> values) {
		this.values = values;
	}
	
	public Series addValue(Value value){
		this.values.add(value);
		return this;
	}

	public boolean isRootElement() {
		return false;
	}

}
